
cc=g++
src=$(wildcard *.cc)
obj=$(src:.cc=.o)

.PHONY:all
all:server_udp client_udp

server_udp:UdpServerMain.cc
	$(cc) -o $@ $^ -std=c++17 -lpthread

client_udp:UdpClientMain.cc
	$(cc) -o $@ $^ -std=c++17 -lpthread

.PHONY:clean
clean:
	rm -f server_udp client_udp